package xyz.zhouzhaodong.crm.service;

import xyz.zhouzhaodong.crm.dto.ExpensesDto;
import xyz.zhouzhaodong.crm.entity.Expenses;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.zhouzhaodong.crm.entity.Expenses;
import xyz.zhouzhaodong.crm.util.RestMessage;

/**
 * <p>
 * 费用支出 服务类
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-07-03
 */
public interface IExpensesService extends IService<Expenses> {

    /**
     * 新增费用支出
     * @param expenses
     * @return
     */
    RestMessage addExpenses(Expenses expenses);

    /**
     * 删除费用支出
     * @param expenses
     * @return
     */
    RestMessage deleteExpenses(Expenses expenses);

    /**
     * 修改费用支出
     * @param expenses
     * @return
     */
    RestMessage updateExpenses(Expenses expenses);

    /**
     * 查询费用支出
     * @param expensesDto
     * @return
     */
    RestMessage selectExpenses(ExpensesDto expensesDto);

}
